// 引入封装好的request
import request  from "@/utils/request";
// 获取所有博客
export const getForumApi = (data)=>{
    return request({
        url:'/blogsys/getforum',
        method:'POST',
        data
    })
}

// 获取单个展示博客
export const displayblogApi = (data)=>{
    return request({
        url:'/blogsys/displayblog',
        method:'POST',
        data
    })
}